import request from "@/utils/request.js"
export function getUserInfo() {
	return request({
		url: `/user/viewinfo.php`,
		method: 'GET',
		noLoading:true
	})
}


export function update(data) {
	return request({
		url: `/user/update.php`,
		method: 'GET',
		data
	})
}